Skip to content

ci: run the test suite on every pull request - #12

Merged
Fiona2016 merged 1 commit into
publishfrom
ci/test-on-pr
Aug 26, 2026
Merged

ci: run the test suite on every pull request#12
Fiona2016 merged 1 commit into
publishfrom
ci/test-on-pr

Conversation

@Fiona2016

Copy link
Copy Markdown
Collaborator

Why

This repo had no CI that ran the tests. The three workflows were CodeQL, publish and stale, so the first time CI touched a build was the publish workflow — by which point it is publishing, which is too late to learn anything from.

What

A CI workflow that installs and runs yarn test on every pull request, and on pushes to publish. Same pinned actions and Node version as the publish workflow, and the same plain yarn install, so a green run here means the same tree the release builds from.

Only the test suite. yarn lint currently reports 222 pre-existing problems across the repo, so wiring it in now would make CI red on arrival and teach everyone to ignore it; that is worth fixing separately.

Checks

yarn test locally on this branch: 876 passed, 1 skipped, 0 failed, 129 snapshots.

This PR is itself the first run of the workflow.

The suite only ran on a developer's machine. CI first touched a build in the
publish workflow, which is too late to learn anything: by then it is publishing.
@Fiona2016
Fiona2016 merged commit b51e2aa into publish Aug 26, 2026
1 check passed
@Fiona2016
Fiona2016 deleted the ci/test-on-pr branch August 26, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant